package org.jeecg.modules.veterans.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 名称
 *
 * @author: 仝明明
 * @Date:Create in 3:35 PM 2023/9/8
 */

@Data
@TableName("sys_service_discount")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_service_discount对象", description="优待服务优惠项目信息表")
public class SysServiceDiscount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    @Excel(name = "商家名称", width = 30)
    @TableField(exist = false)
    private String serviceName;
    @Excel(name = "优惠项目", width = 15)
    private String name;
    @Excel(name = "对象范围", width = 30)
    private String area;
    @Excel(name = "对象类别", width = 15)
    private String type;
    @Excel(name = "享受方式", width = 15)
    private String way;
    @Excel(name = "备注", width = 15)
    private String remark;
    @Excel(name = "优惠折扣", width = 15)
    private BigDecimal discount;
    @Excel(name = "商家id", width = 15)
    private String serviceId;
}
